<div class="navbar">
	<div class="navbar-inner">
		<div class="container">
			<?php if(front()->registry()->get('session', 'user')->getUserId()): ?>
			<div class="user-info">
				<img width="30" src="<?php echo front()
				->registry()
				->get('session', 'user')
				->getAttributes('picture'); ?>" />
					
				<a href="http://facebook.com/<?php echo front()
				->registry()
				->get('session', 'user')
				->getAttributes('facebook_id'); ?>"><?php echo front()
				->registry()
				->get('session', 'user')
				->getUserName(); ?></a>
			</div>
			<?php endif; ?>
			<a class="brand" href="/">Questions &amp; Answers</a>
		</div>
	</div>
</div>